<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>

<s:url id="gridUrl" action="sistem/referensi/jenissk/jqgrid/data"/>

<s:url id="crudUrl" action="sistem/referensi/jenissk/jqgrid/crud"/>

<sjg:grid id="jenissk" caption="Jenis SK" dataType="json"
	href="%{gridUrl}" pager="true" navigator="true"
	navigatorSearchOptions="{sopt:['eq','ne','lt','gt']}"
	navigatorAddOptions="{height:280,width:400,reloadAfterSubmit:true}"
	navigatorEditOptions="{height:280,width:400,reloadAfterSubmit:false}"
	navigatorEdit="true" navigatorView="false" navigatorDelete="true"
	navigatorDeleteOptions="{height:280,reloadAfterSubmit:true}"
	gridModel="list" rowList="10,15,20" rowNum="15" editurl="%{crudUrl}"
	editinline="true" onSelectRowTopics="rowselect"
	onEditInlineSuccessTopics="oneditsuccess" viewrecords="true"
	width="700" shrinkToFit="true" autowidth="true">
	<sjg:gridColumn name="id" id="id" frozen="true" index="id" title="ID"
		width="60" formatter="integer" editable="false" sortable="false"
		search="true" searchoptions="{sopt:['eq','ne','lt','gt']}" />
	<sjg:gridColumn name="inisial" id="inisial" index="inisial"
		title="inisial" width="250" editable="true" edittype="text"
		sortable="true" search="false" />
	<sjg:gridColumn name="namaLembaga" id="namaLembaga" index="nama"
		title="Nama Lembaga" width="250" editable="true" edittype="text"
		sortable="true" search="false" />
</sjg:grid>
